/*
 * method.h
 *
 *  Created on: Aug 10, 2010
 *      Author: sdaniele
 */

#ifndef METHOD_H_
#define METHOD_H_

#include "process.h"

#include <assert.h>

namespace pilot {

	class method: public pilot::process {
		public:
			virtual ~method(){}
			method(){}

			void go(){
				this->operator()();
			}

			virtual void operator()(){assert(0);};
	};

}

#endif /* METHOD_H_ */
